package cn.icatw.gulimall.seckill.feign;

import cn.icatw.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author icatw
 * @date 2022/4/4
 * @email 762188827@qq.com
 * @apiNote
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    /**
     * 得到最近三天秒杀商品
     *
     * @return {@link R}
     */
    @GetMapping("coupon/seckillsession/latest3DaySession")
    R getLatest3DaySession();
}
